<!--#include file="./doctype.html"-->
<title>批量修改产品-<%=siteTitle%>-后台管理</title>
</head><body>
<div class="wrap">
	<ol class="breadcrumb">
		<li><a href="<%=fileName%>?q=index">列表首页</a></li>
		<li class="active"><a href="javascript:;" class="reload">批量修改</a></li>
	</ol>
	<form method="post" action="<%=fileName%>?q=saveBatch" class="mb10" role="form">
		<input type="hidden" name="batchId" value="<%=batchId%>">
		<div class="form-group fix">
			<label class="btn btn-sm btn-default">
                <input name="isClassID" value="1" type="checkbox"> 修改？
            </label>
			<div class="inline w20 class_id" data-name="classID" data-id="classID"></div>
			<label class="inline control-label" for="classID">栏目</label>
		</div>
		<div class="form-group fix">
			<label class="btn btn-sm btn-default">
                <input name="isInfoViewID" value="1" type="checkbox"> 修改？
            </label>
            <div class="inline w30 view_id" data-name="infoViewID" data-id="0"></div>
            <label class="inline control-label" for="infoViewID">使用模板(不选使用默认)</label>
		</div>
		<div class="form-group fix">
			<label class="btn btn-sm btn-default">
                <input name="isHits" value="1" type="checkbox"> 修改？
            </label>
            <input id="hits" name="hits" class="form-control inline w30 check_value clean" placeholder="点击数" value="" />
            <label class="inline control-label" for="hits">点击数</label>
		</div>
		<div class="form-group fix">
			<label class="btn btn-sm btn-default">
                <input name="isDateTime" value="1" type="checkbox"> 修改？
            </label>
            <input id="dateTime" name="dateTime" class="form-control inline w30 data_time clean" placeholder="生产日期" value="<%=app.cj_date(now())%>" />
            <label class="inline control-label" for="dateTime">生产日期</label>
		</div>
		<div class="form-group fix">
			<label class="btn btn-sm btn-default">
                <input name="isManufacturer" value="1" type="checkbox"> 修改？
            </label>
            <input id="manufacturer" name="manufacturer" class="form-control inline w30 check_value clean" placeholder="品牌厂家" value="<%=siteName%>" />
            <label class="inline control-label" for="manufacturer">品牌厂家</label>
		</div>
		<div class="form-group fix">
			<label class="btn btn-sm btn-default">
                <input name="isProductType" value="1" type="checkbox"> 修改？
            </label>
            <input id="productType" name="productType" class="form-control inline w30 check_value clean" placeholder="产品型号" value="" />
            <label class="inline control-label" for="productType">产品型号</label>
		</div>
		<div class="form-group fix">
			<label class="btn btn-sm btn-default">
                <input name="isPrice" value="1" type="checkbox"> 修改？
            </label>
            <input id="price" name="price" class="form-control inline w30 check_value clean" placeholder="产品价格" value="" />
            <label class="inline control-label" for="price">产品价格</label>
		</div>
		<div class="form-group fix">
			<label class="btn btn-sm btn-default">
                <input name="isProUrl1" value="1" type="checkbox"> 修改？
            </label>
            <input id="proUrl1" name="proUrl1" class="form-control inline w30 check_value clean" placeholder="自定义链接1" value="" />
            <label class="inline control-label" for="proUrl1">自定义链接1</label>
		</div>
		<div class="form-group fix">
			<label class="btn btn-sm btn-default">
                <input name="isProUrl2" value="1" type="checkbox"> 修改？
            </label>
            <input id="proUrl2" name="proUrl2" class="form-control inline w30 check_value clean" placeholder="自定义链接1" value="" />
            <label class="inline control-label" for="proUrl2">自定义链接2</label>
		</div>
		<div class="form-group fix text-center submit_box"></div>
	</form>
    <!--#include file="loadTime.html"-->
</div>
<script>
$(document).ready(function() {
    $('.class_id').getKind({
        url: './ajax.asp?q=getGenreClass',
        data: 'id=1',
        type: 'select'
    });
	$('.view_id').getView();
	$('.data_time').datePicker().on('changeDate', function(e){
	    e.viewMode == 'days' && $(this).datePicker('hide');
	});
});
</script>
</body>
</html>